package com.ctg.itrdc.imageconsole.data.dao;

import java.util.List;

import com.ctg.itrdc.imageconsole.data.entity.DockerMicroImage;
import com.ctg.itrdc.paspsdk.common.entity.PageInfo;
import com.ctg.itrdc.paspsdk.data.dao.IBaseCacheDao;
import com.ctg.itrdc.paspsdk.data.dao.IBaseDao;

public interface IDockerMicroImageDao extends IBaseCacheDao, IBaseDao {

	PageInfo<DockerMicroImage> queryBuildList(DockerMicroImage dockerMicroImage,
			Integer pageNum, Integer pageSize, Boolean isDockerManager);

	DockerMicroImage selectById(Long id);
//	DockerMicroImage selectByDockerImageIndexId(Long dockerImageIndexId);
	
	List<DockerMicroImage> isVersionExist(Long userId, String imageName, String version);
	
	void deleteById(Long id);
}
